🌲 #newfeature The branches of if structures no longer need to return the same type when the if structure is not used to assign a value to a variable. This allows you to use if structures more liberally. Code like this will now compile:
//@version=5 indicator("", "", true) var line e = na if close > open // This branch returns "void". line.delete(e) else // This branch returns the "line" type. e := line.new(bar_index - 10, high[10], bar_index, high)
🌲 #newfeature The branches of if structures no longer need to return the same type when the if structure is not used to assign a value to a variable. This allows you to use if structures more liberally. Code like this will now compile:
//@version=5 indicator("", "", true) var line e = na if close > open // This branch returns "void". line.delete(e) else // This branch returns the "line" type. e := line.new(bar_index - 10, high[10], bar_index, high)
BY PineCoders Squawk Box
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
Telegram today rolling out an update which brings with it several new features.The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations.